package com.educate.device.dao;

import com.educate.device.dao.impl.ChildDeviceDaoImpl;
import com.educate.device.model.bo.ChildDeviceBO;
import com.educate.device.model.po.ChildDevice;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface ChildDeviceDao extends MongoRepository<ChildDevice, String> {

    /**
     * #{@link ChildDeviceDaoImpl#query(ChildDeviceBO, Pageable)}
     */
    Page<ChildDevice> query(ChildDeviceBO bo, Pageable pageable);
}
